package com.ruoyi.system.vo;

import com.ruoyi.system.domain.Order;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "开放接口返回订单字段", description = "开放接口返回订单字段")
public class ApiOrderPageVo extends Order {
    @ApiModelProperty(value = "银行名称")
    @NotBlank(message = "银行名称不能为空")
    private String bankName;
    @ApiModelProperty(value = "姓名")
    @NotBlank(message = "姓名不能为空")
    private String name;
    @ApiModelProperty(value = "银行账号  微信收款码  支付宝收款码")
    @NotBlank(message = "银行账号不能为空")
    private String cardNo;

    private String type;
}
